﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;



namespace ParticeInClass
{
    
    class Problem
    {
        public String Title;
        public String Body;
        public int Reward;
        public User Author;
        public HelpMoney HelpMoney;


        public void Publish()
        {
            Console.WriteLine("发布了一个问题：" + Title + "内容：" + Body + "悬赏：" + Reward);
            HelpMoney.DisableAmount = Reward;
            HelpMoney.AccountFrozen();
            HelpMoney.Owner = Author;

        }
        //静态方法
        public static void Load(int id)
        {
            Console.WriteLine("加载求助：" + id);
        }
        //静态方法
        public static void Delete(int id)
        {
            Console.WriteLine("删除求助" + id);
        }
    }
}
